<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/derek-tags" prefix="dk"%>
<%@ taglib prefix="pageSet" uri="/WEB-INF/taglib/ocean-pageset.tld"%>
<dk:WarPath />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
	<HEAD>
		<TITLE>用户消息</TITLE>
		<META http-equiv=Cache-Control content=no-store>
		<META http-equiv=Pragma content=no-cache>
		<META http-equiv=Expires content=0>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		<META content="MSHTML 6.00.6000.17037" name=GENERATOR>
		<link href="${_WarPath }/css/base.css" type="text/css"
			rel="stylesheet" />
		<LINK href="${_WarPath }/css/account.css" type=text/css rel=stylesheet />
		<LINK rel=stylesheet type=text/css
			href="${_WarPath }/css/jquery.alerts.css" media=screen />

		<SCRIPT src="pay/jquery.min.js" type=text/javascript></SCRIPT>
		<SCRIPT src="pay/global.js" type=text/javascript></SCRIPT>
		<SCRIPT src="pay/jquery.alerts.js" type=text/javascript></SCRIPT>
	</head>
	<BODY>
		<DIV id=page>
			<div id="full_bg">
				<DIV id=outbox style="PADDING-TOP: 8px">
					<div class="content clearfix mt10px">
						<div class="title01 clearfix">
							<div class="title-l"></div>
							<div class="title-m">
								<div class="title-ico4"></div>
								用户消息管理
							</div>
							<div class="title-r"></div>
							<div class="title-r-cont"></div>
						</div>
						<div class="cont01">
							<ul class="dyhb pic-border clearfix c-main">
								<li>
									<form action="/xinlu/user/yhxxAction.html" method="post"
										id="frmYhxx" name="frmYhxx">
										<dk:showHidden pageId="yhxx" doAction="loadYhxx" />
										<s:hidden name="pn" id="pn"></s:hidden>
										<s:hidden name="xxid" id="xxid"></s:hidden>
										<DIV class=pr_top>
											<SPAN>消息类型： <s:select list="xxLeiXings"
													name="xxLeiXing" listKey="labelValue" listValue="labelName"></s:select>
											</SPAN> &nbsp;&nbsp;&nbsp;
											<INPUT id="loadYhxx" type=submit value="  查  看  "
												name="loadYhxx">
										</DIV>

										<TABLE class="mxtable tablepd tablelh" cellSpacing=1
											cellPadding=0 width="100%" align=center border=0>
											<TBODY>
												<TR class=mxthead>
													<TD class=mxthead>
														标题
													</TD>
													<TD class=mxthead>
														时间
													</TD>
													<TD class=mxthead>
														状态
													</TD>
													<TD class=mxthead>
														&nbsp;
													</TD>
												</TR>
												<s:iterator value="pageObject.items" status="s">
													<tr>
														<td>
															<span class="a1"><s:property value="title" />&nbsp;</span>
														</td>
														<td>
															<span class="a2"><s:property value="addtime" />&nbsp;</span>
														</td>
														<td>
															<s:if test="state==0">未读</s:if>
															<s:else>已读</s:else>
														</td>
														<td>
															<s:if test="state==0">
																<a href="#"
																	onclick="alert('<s:property value="content" />');return submitCommonFormEx(document.forms[0],'changeHasRead','xxid','<s:property value="id" />');">查看详情</a>
															</s:if>
															<s:else>
																<a href="#"
																	onclick="alert('<s:property value="content" />');">查看详情</a>
															</s:else>
														</td>
													</tr>
												</s:iterator>
												<tr valign="middle">
													<td valign="middle" colspan="4" align="center" height="50">
														<font size="2"><pageSet:pageSet key="pageObject"
																nameType="条记录" methodName="loadYhxx"></pageSet:pageSet>
														</font>
													</td>
												</tr>
											</TBODY>
										</TABLE>
									</form>
								</li>
							</ul>
						</div>
					</div>
				</DIV>
			</DIV>
	</BODY>
</HTML>